import request from '@/utils/http'

export const getCategoryAPI = () => {
  return request('/home/category/head', 'get', {})
}

// 获取轮播图
export const getBannerAPI = () => {
  return request('/home/banner', 'get', {})
}

// 获取新鲜好物
export const getNewAPI = () => {
  return request('/home/new', 'get', {})
}

// 获取人气推荐
export const findHotAPI = () => {
  return request('home/hot', 'get', {})
}
